package Corejava.com;

public class Car {

	private String make;
	private String vinNum;
	private String color;
	private int year;
	private int numOfWheels;
	private boolean luxury;
	
	// getters and setters 
	public String getMake() {
		return make;
	}
	public void setMake(String make) {
		this.make = make;
	}
	public String getVinNum() {
		return vinNum;
	}
	public void setVinNum(String vinNum) {
		this.vinNum = vinNum;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
	public int getNumOfWheels() {
		return numOfWheels;
	}
	public void setNumOfWheels(int numOfWheels) {
		this.numOfWheels = numOfWheels;
	}
	public boolean isLuxury() {
		return luxury;
	}
	public void setLuxury(boolean luxury) {
		this.luxury = luxury;
	}

	
	
	
	/*String whatType(String whatMake) {
		make = whatMake;
		return make;
	}

	String vNum(String viNum) {
		vinNum = viNum;
		return vinNum;
	}

	String attractiveColor(String notKnown) {
		color = notKnown;
		return color;
	}

	int builtYear(int bYear) {
		if (bYear < 2000 && bYear > 1999) {
			year = bYear;
		} else if (bYear > 2001 && bYear < 2014) {
			year = bYear;
		} else if (bYear > 2014) {
			System.out.println("THe Car has not built yet!!");
		} else {
			System.out.println("Car is too Old!!");
		}
		return bYear;
	}

	int howManyWheels(int wheels) {
		numOfWheels = wheels;
		return numOfWheels;
	}

	boolean isLuxuryCar(String checkOut) {

		if (checkOut == "Porche") {
			luxury = true;
		} else {
			luxury = false;
		}
		return luxury;
	}*/
} // end of class


